package com.lijie.bs_recruit.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.lijie.bs_recruit.model.Hr;

import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 李杰
 * @since 2021-03-15
 */
public interface HrService extends IService<Hr> {
    Map<String,Object> login(String hruserName, String hrPassword);

    //用户名查hr
    Hr getHrByhrsername(String hruserName);

    //查所有的hr
    PageInfo<Hr> selHrPage(Integer page, Hr hr);

    //改变Hr审核状态
    Boolean changeHrIdeleted(Hr hr);

    //更新hr;
    Boolean updateHr(Hr hr);


}
